home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD 6
/
SuperCD_6 CD.iso
/
WIN95
/
RKTOOLS
/
SHORTCUT.INF
< prev
Wrap
Windows Setup INFormation
|
1995-06-03
|
3KB
|
88 lines
; shortcut.INF
; This is the Setup information file to install the animated cursor editor
; Copyright (c) 1993-1995 Microsoft Corporation
[version]
LayoutFile=rklayout.inf
signature="$CHICAGO$"
SetupClass=BASE
[DestinationDirs]
rklayout.copy = 17 ; LDID_INF
Register.Copy = 17 ; LDID_INF
shortcutCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE% ; LDID_APPS\Program Files\Resource Kit
[Optional Components]
shortcut
[shortcut]
OptionDesc = %shortcut_Desc%
Tip = %shortcut_TIP%
CopyFiles = shortcutCopyFiles, Register.Copy, rklayout.copy
AddReg = shortcutReg, shortcut.install.reg, Register.AddReg
InstallType = 0 ;Manual only
IconIndex = 4 ;Default (diamond) mini-icon for dialogs
Uninstall = shortcut_remove
[shortcut_remove]
DelFiles = shortcutCopyFiles, Register.Copy
DelReg = UnRegister.DelReg
[rklayout.Copy]
rklayout.inf
[Register.Copy]
shortcut.inf
[shortcutCopyFiles]
shortcut.exe
shortcut.txt
[Register.AddReg]
;Create entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut,DisplayName,,%uninstall_Desc%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut,UninstallString,,"RunDll setupx.dll,InstallHinfSection shortcut_Remove 4 shortcut.INF"
[UnRegister.DelReg]
;Remove entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\shortcut
[shortcutReg]
; create the long-name for "Program Files"
; Note that when you rename a long name, VFAT changes the short name from
; foobar~1 to foobar~2. To avoid this, we introduce a work around in the form of
; an intermediate rename
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
[Strings]
RKTOOLS_DESC = "Resource Kit"
shortcut_Desc = "Shortcut Maintenance Utility"
uninstall_Desc = "Shortcut Maintenance Utility"
shortcut_TIP = "Allows you to maintain and make shortcuts from the command line."
DSK = "Windows 95 Resource Kit"
; Directory names - note that that short versions must match the truncated
; 8 char names for the long versions, or else there will be problems.
; also need to put the short versions in the [DestinationDirs] section above
; Used by wordpad, hypertrm, backup, paint, & MSN
Program_Files = "Program Files"
PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1"
OEM_PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
ResourceKit = "Resource Kit"
RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1"
OEM_RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1" - in OEM codepage (not Ansi)